package com.yunsc.store.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunsc.store.dto.StoreDeliveryDTO;
import com.yunsc.store.entity.YunscDeliveryRuleEntity;

import java.util.List;

/**
 * 配送模板区域及运费表
 *
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-05 01:37:47
 */
public interface YunscDeliveryRuleService extends IService<YunscDeliveryRuleEntity> {


    /**
     * 根据配送模板ID查询配送区域及运费信息
     * @param deliveryId 配送模板ID
     * @return 配送区域及运费信息
     */
    List<StoreDeliveryDTO.RulesForm> queryRuleList(Integer deliveryId);
}

